package com.itdaqi.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * mybatis逻辑删除
 *  1）、配置全局的逻辑删除规则
 *  2）、配置逻辑删除的组件
 *  3)、给Bean上加上逻辑删除注解@TableLogic
 */
@MapperScan("com.itdaqi.gulimall.product.dao")
@SpringBootApplication
@EnableDiscoveryClient    //添加服务注册与发现
public class GulimallProductApplication {

	public static void main(String[] args) {
		SpringApplication.run(GulimallProductApplication.class, args);
	}

}
